import request from '../utils/request';

export async function uploadDiary(data) {
  return request({
    url: '/diary',
    method: 'POST',
    data
  })
}

export async function queryDiary(data) {
  return request({
    url: '/diary',
    method: 'GET',
    data
  })
}
